//
//  TWScrollLabelView.h
//  特效动画
//
//  Created by 耐克了解了 on 1/6/17.
//  Copyright © 2017年 耐克了解了. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TWScrollLabelView;
typedef NS_ENUM(NSInteger, ScrollDirectionType) {
    
    FromLeftType = 0,
    FromRightType = 1
    
};

@protocol TWScrollLabelViewDelegate <NSObject>

@optional
- (void)barrageView:(TWScrollLabelView *)barrageView animationDidStopFinished:(BOOL)finished;

@end

@interface TWScrollLabelView : UIView

@property (nonatomic,weak) id <TWScrollLabelViewDelegate> delegate;

@property (nonatomic,assign) CGFloat speed;

@property (nonatomic,assign) ScrollDirectionType barrageDirection;

- (void)addContentView:(UIView *)view;

- (void)startAnimation;

- (void)stopAnimation;

- (void)pauseAnimation;

- (void)resumeAnimation;




























@end
